package com.main;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ProviderStartup {
	public static void main(String[] args) throws InterruptedException{
		ApplicationContext applicationContext = new ClassPathXmlApplicationContext("provider.xml");
		String[] names = applicationContext.getBeanDefinitionNames();
		System.out.println("bean name : "+names[0]);
		while (true) {
			Thread.sleep(1000 * 60 * 10);
		}
	}
}
